bitkeeper revision 1.1438 (428a6cbbhokMA5cP0GT8z63oSTQwIA)
authorcl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>
Tue, 17 May 2005 22:14:19 +0000 (22:14 +0000)
committercl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk>
Tue, 17 May 2005 22:14:19 +0000 (22:14 +0000)
commit5b0d192b958aaff52ba3c82d175bb830e05f242f
tree90193f9ada1e202a3d701fe2aba9ac10dcb7dc16
parent34db012c96442a482d630df09461f6ef53f38e70
bitkeeper revision 1.1438 (428a6cbbhokMA5cP0GT8z63oSTQwIA)

ip.py:
  Make the get_current_ip* functions more robust -- default to look at the
  interface which is currently used for the default route instead of eth0.
  Fix get_current_ipaddr, get_current_ipmask and get_current_ipgw for
  veth0.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
tools/python/xen/util/ip.py